//
//  WZDetailCell.m
//  WZEfengAndEtong
//
//  Created by wanzhao on 16/6/15.
//  Copyright © 2016年 wanzhao. All rights reserved.
//

#import "WZDetailCell.h"

@implementation WZDetailCell



/*
+ (instancetype)detailCellWithTableView:(UITableView *)tableView
{
    static NSString *detailCellID = @"detailCellID";
    WZDetailCell *cell = [tableView dequeueReusableCellWithIdentifier:detailCellID];
    if (cell == nil) {
        cell = [[WZDetailCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:detailCellID];
    }
    return cell;
}


- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        
        UIView *line = [[UIView alloc] init];
        line.backgroundColor = RGBCOLOR(212, 212, 212);
        
        //        line.backgroundColor = RedColor;
        [self.contentView addSubview:line];
//        self.line = line;
        
        UIImageView *imgView = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"clock-拷贝-4"]];
        [imgView sizeToFit];
        [self.contentView addSubview:imgView];
        
        [imgView mas_makeConstraints:^(MASConstraintMaker *make) {
            make.left.equalTo(self.contentView.mas_left).offset(16);
            make.centerY.equalTo(self.contentView.mas_centerY);
        }];
//        self.imgView = imgView;
        
        
        UILabel *label = [[UILabel alloc] init];
        label.backgroundColor = ClearColor;
        label.font = Font14;
        label.textColor = [UIColor grayColor];
        //        label.text = @"10:00";
        [label sizeToFit];
        [self.contentView addSubview:label];
        
        [label mas_makeConstraints:^(MASConstraintMaker *make) {
            make.right.equalTo(self.contentView.mas_right).offset(-15);
            make.centerY.equalTo(self.contentView.mas_centerY);
        }];
//        self.timeLabel = label;
        
        
        UILabel *zhutiLabel = [[UILabel alloc] init];
        
//        self.zhutiLabel = zhutiLabel;
        zhutiLabel.backgroundColor = ClearColor;
        zhutiLabel.font = Font14;
        //        zhutiLabel.text = @"一个我的工作日程";
        [zhutiLabel sizeToFit];
        [self.contentView addSubview:zhutiLabel];
        [zhutiLabel mas_makeConstraints:^(MASConstraintMaker *make) {
            make.left.equalTo(imgView.mas_right).offset(10);
            make.centerY.equalTo(imgView.mas_centerY);
        }];
        
        
        UILabel *remindLabel = [[UILabel alloc] init];
        remindLabel.backgroundColor = ClearColor;
        remindLabel.font = Font14;
        remindLabel.textColor = RedColor;
        //        remindLabel.text = [NSString stringWithFormat:@"[来自%@]", @"XXX"];
        [remindLabel sizeToFit];
        [self.contentView addSubview:remindLabel];
        [remindLabel mas_makeConstraints:^(MASConstraintMaker *make) {
            make.left.equalTo(zhutiLabel.mas_right);
            make.centerY.equalTo(zhutiLabel.mas_centerY);
        }];
//        self.remindLabel = remindLabel;
        
    }
    return self;
 
}

*/


@end
